<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/mod2016/include/taglib.jsp" %>

<div class="list-top pdlr-20 clear pdt-5">
    <div class="list-title fl fs14">业务列表<span class="fs12 font-gray">（共${page.count}条）</span>
        <a href="javascript:history.go(0)"><i></i></a>
    </div>
    <c:if test="${report.isExport eq '1' }">
        <div class="list-manage fr">
            <c:if test="${report.isExportAsyn=='2'||report.isExportAsyn=='0'}">
                <a href="javascript:void(0);" onclick="goExport('${report.reportId}','0')" class="font-blue">同步导出</a><span>|</span>
            </c:if>
            <c:if test="${report.isExportAsyn=='2'||report.isExportAsyn=='1'}">
                <a href="javascript:void(0);" onclick="goExport('${report.reportId}','1')" class="font-blue">异步导出</a>
            </c:if>
        </div>
    </c:if>
</div>
<div class="list-con clear">
    <div style="overflow-x: scroll;">
        <table border="0" width="100%" class="table-style4 js_table_style4 word-break"  style="width: 948px; overflow: scroll;">
            <thead>
            <tr class="erow">
                <c:forEach items="${out1}" var="o1">
                    <th rowspan="${o1.spanValue}" scope="col" style="border: 1px solid #ddd;">${o1.itemName}</th>
                </c:forEach>
                <c:forEach items="${out2}" var="o2">
                    <th colspan="${o2.spanValue}" scope="col" style="border: 1px solid #ddd;">${o2.itemName}</th>
                </c:forEach>
            </tr>
            <tr>
                <c:forEach items="${out0}" var="o0">
                    <th scope="col" style="border: 1px solid #ddd;">${o0.itemName}</th>
                </c:forEach>
            </tr>

            <%--<tr class="erow">--%>
            <%--&lt;%&ndash;<td><div class="check-box"><i class="ico-check" id="checkAll"></i></div></td>&ndash;%&gt;--%>
            <%--<c:forEach items="${report.reportConfigOuts}" var="reportConfigOut">--%>
            <%--<td style="border: 1px solid #ddd;">${reportConfigOut.itemName }</td>--%>
            <%--</c:forEach>--%>
            <%--</tr>--%>
            </thead>
            <tbody>
            <c:forEach items="${page.list}" var="map">
                <tr>
                        <%--<td><div class="check-box"><i class="ico-check"></i></div></td>--%>
                    <c:forEach items="${report.reportConfigOuts}" var="reportConfigOut">
                        <td>${map[reportConfigOut.itemCode]}</td>
                    </c:forEach>
                </tr>
            </c:forEach>
            </tbody>
        </table>
        <%--<table border="0" width="100%" class=" table-style4  js_table_style4">--%>
        <%--<thead>--%>
        <%--<tr class="erow">--%>
        <%--<td>--%>
        <%--<div class="check-box"><i class="ico-check" id="checkAll"></i></div>--%>
        <%--</td>--%>
        <%--<c:forEach items="${report.reportConfigOuts}" var="reportConfigOut">--%>
        <%--<td style="border: 1px solid #ddd;">${reportConfigOut.itemName }</td>--%>
        <%--</c:forEach>--%>
        <%--</tr>--%>
        <%--</thead>--%>
        <%--<tbody>--%>
        <%--<c:forEach items="${page.list}" var="map">--%>
        <%--<tr>--%>
        <%--<td><div class="check-box"><i class="ico-check"></i></div></td>--%>
        <%--<c:forEach items="${report.reportConfigOuts}" var="reportConfigOut">--%>
        <%--<td>${map[reportConfigOut.itemCode]}</td>--%>
        <%--</c:forEach>--%>
        <%--</tr>--%>
        <%--</c:forEach>--%>
        <%--</tbody>--%>
        <%--</table>--%>
    </div>
</div>
<div class="pagination clear "> ${page}</div>